<template>
    <div class="lowChart">
        <p class="title">{{title}}</p>
        <slot></slot>
    </div>
</template>

<script>
    export default {
        name: "lowChart",
        props: {
            title: {
                type: String,
                default: '统计名称'
            }
        }
    }
</script>

<style scoped>
    .lowChart {
        width: 609px;
        height: 277px;
        background: url("../../../assets/img/workcategory/lowChart.png");
        background-size: 609px 277px;
    }

    .title {
        text-align: center;
        font-size: 22px;
        color: #D7504B;
        transform: translateY(-8px);
    }
</style>
